from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^spits/$', views.SpitListView.as_view()),
    url(r'^spits/(?P<pk>\d+)/$', views.SpitRetrieveAPIView.as_view()),
    url(r'^spits/(?P<pk>\d+)/comments/$', views.CommentListAPIView.as_view()),
    # url(r'^spits/add/$', views.SpitCreateAPIView.as_view())
]
